package com.cycleit.applicationexample.business{
	import mx.rpc.http.HTTPService;
	
	public class ServiceLocator{
		
		private static var _instance:ServiceLocator;
		
		public static function getInstance():ServiceLocator{
        	if(_instance == null) {
	       		_instance = new ServiceLocator(new SingleClass());
	    	}
	    	return _instance;
        }
        
		public function ServiceLocator(v:SingleClass) {
			xmlService = HTTPService(null);
			xmlService.showBusyCursor = true;
			xmlService.resultFormat = "e4x";
		}
		
		public var xmlService:HTTPService;
	}
}	
class SingleClass {}